import axios from "@/utils/axios";
/*
  个人认证信息详情
*/
export const getPersonalRealName = () => {
  return axios.get("/uc/person/info");
};
/*
  个人认证信息认证
*/
export const addPersonalRealName = (body) => {
  const headers = {
    "Content-Type": "multipart/form-data",
  }
  return axios.post("/uc/person/realname", body, headers);
}

/*
  企业认证信息详情
*/
export const getEnterpriseRealName = () => {
  return axios.get("/uc/org/info");
};
/*
  企业认证信息认证
*/
export const addEnterpriseRealName = (body) => {
  const headers = {
    "Content-Type": "multipart/form-data",
  }
  return axios.post("/uc/org/realname", body, headers);
};